package com.we.wecc.aw.db.mapper;

import com.we.wecc.aw.db.model.AwardProduct;
import com.we.wecc.aw.db.model.AwardProductExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface AwardProductMapper {
    long countByExample(AwardProductExample example);

    int deleteByExample(AwardProductExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(AwardProduct record);

    int insertSelective(AwardProduct record);

    List<AwardProduct> selectByExampleWithRowbounds(AwardProductExample example, RowBounds rowBounds);

    List<AwardProduct> selectByExample(AwardProductExample example);

    AwardProduct selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") AwardProduct record, @Param("example") AwardProductExample example);

    int updateByExample(@Param("record") AwardProduct record, @Param("example") AwardProductExample example);

    int updateByPrimaryKeySelective(AwardProduct record);

    int updateByPrimaryKey(AwardProduct record);
}